Repository navigation
fix(voice-line): Turso v2 rows are bare arrays, not {values} objects (#9800) - #10685
Conversation
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 47 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
eec9ad4 to
f5e6a21
Compare
|
Codex disposition (task 16482, lane code-c): if the Codex review again failed to run on usage limits, it produced zero findings; merge rests on own verification: bun test 13/13 (new ledger tests use the actual live Turso v2 response shape as their oracle fixture), bunx tsc --noEmit clean, plus the live proof re-run recorded on #9800. |
What
Second deploy-proof fix for the voice line (#9800 step 1, task 16482), found live on 2026-11-16 after PR #10681 landed:
Turso pipeline v2 rows are bare arrays, not
{values}objects.TursoClient.latestQueueSnapshotreadrows[0].values— on a plain array that resolves toArray.prototype.values, and destructuring it threwfunction is not iterable (cannot read property Symbol(Symbol.iterator))inside the Durable Object, killing every queue-state utterance after transcription (no answer, no ledger row). Verified against the live pipeline API:rows: [[{type:"text",value:...}, ...]].Fix: correct the
PipelineResultrow type toTursoValue[][], extract the parsing intoparseQueueSnapshotResult, and pin it with unit tests whose fixture is the actual live response shape captured during the proof (oracle: the real Turso v2 API output).Tests
bun test— 13/13 pass (39 expect() calls)bunx tsc --noEmit— cleanThe end-to-end proof (transcript → spoken answer → Turso ledger row) re-runs against the redeployed worker after merge and is recorded on #9800.
🤖 Queue lane code-c, task 16482.
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.